<?php

Route::group(['middleware' => ['web', 'auth:admin'], 'prefix' => 'slider', 'namespace' => 'Modules\Slider\Http\Controllers'], function()
{
    //轮播图展示页路由
    Route::get('/', 'SliderUserController@index')->name('slider')->middleware('permission:admin');
    Route::resource('/slider','SliderController')->middleware('permission:admin,resource');
});
